package com.atguigu.ssyx.sys.service;

import com.atguigu.ssyx.model.sys.RegionWare;
import com.atguigu.ssyx.vo.sys.RegionWareQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 杨林
 * @create 2023-07-12 17:46 星期三
 * description:
 */
public interface RegionWareService extends IService<RegionWare> {
    /**
     * 获取开通区域列表
     * @param page
     * @param limit
     * @param regionWareQueryVo
     * @return
     */
    IPage index(Long page, Long limit, RegionWareQueryVo regionWareQueryVo);

    /**
     * 根据id修改开通区域状态
     * @param id
     * @param status
     */
    void updateStatusById(Long id, Integer status);
}
